package org.NooLab.itexx.storage.docserver.storage;

import java.sql.Connection;
import java.util.ArrayList;



import com.iciql.Db;



public interface DataBaseHandlerIntf {

	public void setiDb(Db iDb) ;
	
	public int createDataTablesByResource( ArrayList<DataBaseCreateCommand> ccs);
	
	public ArrayList<DataBaseCreateCommand> getCreateFromResource(String xmlstr) ;
	
	public DocoDbTable getTable(String tablename) ;
	
	public String[] getTables() ;
	
	public int getTableCount() ;
	
	public void delete() ;
	
	public void clearAllTables() ;

	public MetaData getMetadata();

	public void insert(String table, String[] fields, String[] values);

	public void updateMetaData(Connection c);

	
	
}
